﻿using System;
using Sirenix.OdinInspector;


namespace Gp.Scripts.Core {
    [Serializable]
    public class CharacterStatConfig {
        public StatPropertyEntry health = new StatPropertyEntry("生命值", 5);
        public StatPropertyEntry strength = new StatPropertyEntry("力量", 5);
        public StatPropertyEntry dexterity = new StatPropertyEntry("敏捷", 5);
        public StatPropertyEntry intelligence = new StatPropertyEntry("智力", 5);
    }
    
    [Serializable]
    [HideLabel]
    public class StatPropertyEntry {
        public readonly string PropertyId;
        [LabelText("@PropertyId")]
        public int value;
        
        public StatPropertyEntry(string stringId, int value) {
            PropertyId = stringId;
            this.value = value;
        }
    }
    
}